import db from '@/lib/db'
import { FoodCards } from '@/app/(dashboard)/admin/foods-management/foods/_components/food-cards'

const Page = async () => {
  const data = await db.user.findMany()
  console.log('%c [  ]-5', 'font-size:13px; background:pink; color:#bf2c9f;', data)
  return (
    <div className='space-y-2'>
      <div className='mb-6 flex items-center justify-between'>
        <h1 className='text-3xl font-semibold'>Foods List</h1>
      </div>
      <FoodCards />
    </div>
  )
}

export default Page
